Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ARC-2316: start sending analytic events to SQS #2343

Merged
merged 2 commits into from
Aug 14, 2023

Conversation

bgvozdev
Copy link
Contributor

@bgvozdev bgvozdev commented Aug 14, 2023

What's in this PR?
Sending analytics event to SQS instead of via analytics client

Why

Added feature flags
Yes

Affected issues
in title

How has this been tested?
in ddev

image image

Whats Next?

@bgvozdev bgvozdev marked this pull request as ready for review August 14, 2023 23:17
@bgvozdev bgvozdev requested a review from a team as a code owner August 14, 2023 23:17
@bgvozdev bgvozdev enabled auto-merge (squash) August 14, 2023 23:18
QueueUrl: envVars.SQS_INCOMINGANALYTICEVENTS_QUEUE_URL,
DelaySeconds: 0
};
try {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/nit
Is there a reason the try{ doesn't move to the very top of this method?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While "sendMessage" is anticipated to result in a error from time to time, and we are OK to ignore it (this is analytics), if there's a bug above - that's not anticipated and we should uncover this ASAP.

@bgvozdev bgvozdev merged commit 8b1ffc4 into main Aug 14, 2023
@bgvozdev bgvozdev deleted the ARC-2316-send-analytic-events-to-sqs branch August 14, 2023 23:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants